package account.entity;

import blogData.entity.BlogDataVO;
import userData.entity.UserDataVO;

import java.util.Date;

/**
 * 帐号资料
 */
public class AccountVO {
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 用户帐号
     */
    private String loginAccount;
    /**
     * 用户email
     */
    private String email;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 用户注册的时间
     */
    private Date registerTime;

    /**
     * 添加用户个人资料
     */
    private UserDataVO userDataVO;
    /**
     * 添加用户个人资料
     */
    private BlogDataVO blogDataVO;

    public BlogDataVO getBlogDataVO() {
        return blogDataVO;
    }

    public void setBlogDataVO(BlogDataVO blogDataVO) {
        this.blogDataVO = blogDataVO;
    }

    public UserDataVO getUserDataVO() {
        return userDataVO;
    }

    public void setUserDataVO(UserDataVO userDataVO) {
        this.userDataVO = userDataVO;
    }

    public Integer getId() {
        return id;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public String getEmail() {
        return email;
    }

    public String getPassword() {
        return password;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

}
